package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.IotAlarmTriggerDTO;
import com.hunttown.mes.rpc.domain.query.IotAlarmTriggerDTOQuery;

/**
 * created by wangjunfu on 2021-03-04 19:17:10
 */
public interface IotAlarmTriggerRpcService {

    IotAlarmTriggerDTO insert(IotAlarmTriggerDTO iotAlarmTriggerDTO);

    Boolean updateInfoById(IotAlarmTriggerDTO iotAlarmTriggerDTO);

    Boolean updateInfoByQuery(IotAlarmTriggerDTOQuery iotAlarmTriggerDTOQuery);

    IotAlarmTriggerDTO selectById(Integer id);

    IotAlarmTriggerDTO selectObjByQuery(IotAlarmTriggerDTOQuery iotAlarmTriggerDTOQuery);

    Page<IotAlarmTriggerDTO> getListForPage(IotAlarmTriggerDTOQuery iotAlarmTriggerDTOQuery);

    Boolean deleteById(Integer id);
}